package com.example.restaurantclient.Entities;

public class Restaurant {
    private String name;
    private float distance;
    private String address;
    private int minTable;
    private int middleTable;
    private int maxTable;
    private String tel;
    private float latitude;
    private float longtitude;
    private int num;

    public Restaurant(String name, float distance, String address, int minTable, int middleTable, int maxTable, String tel, float latitude, float longtitude, int num) {
        this.name = name;
        this.distance = distance;
        this.address = address;
        this.minTable = minTable;
        this.middleTable = middleTable;
        this.maxTable = maxTable;
        this.tel = tel;
        this.latitude = latitude;
        this.longtitude = longtitude;
        this.num = num;
    }

    public Restaurant() {
        super();
    }

    public float getLatitude() {
        return latitude;
    }

    public void setLatitude(float latitude) {
        this.latitude = latitude;
    }
    //
    public float getLongtitude() {
        return longtitude;
    }

    public void setLongtitude(float longtitude) {
        this.longtitude = longtitude;
    }

    @Override
    public String toString() {
        return "Restaurant{" +
                "name='" + name + '\'' +
                ", distance=" + distance +
                ", address='" + address + '\'' +
                ", minTable=" + minTable +
                ", middleTable=" + middleTable +
                ", maxTable=" + maxTable +
                ", tel='" + tel + '\'' +
                ", latitude=" + latitude +
                ", longtitude=" + longtitude +
                '}';
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public float getDistance() {
        return distance;
    }

    public void setDistance(float distance) {
        this.distance = distance;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public int getMinTable() {
        return minTable;
    }

    public void setMinTable(int minTable) {
        this.minTable = minTable;
    }

    public int getMiddleTable() {
        return middleTable;
    }

    public void setMiddleTable(int middleTable) {
        this.middleTable = middleTable;
    }

    public int getMaxTable() {
        return maxTable;
    }

    public void setMaxTable(int maxTable) {
        this.maxTable = maxTable;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }
}
